package cn.momoshenchi.base;

import cn.momoshenchi.pojo.Student;

import java.util.List;

/**
 * @version : 1.0
 * @author: momoshenchi
 * @date: 2021/4/20 - 14:25
 */
public interface BaseMapper<T>
{
    Integer insert(T t);

    Integer updateByPrimaryKey(T t);

    Integer deleteByPrimaryKey(Integer id);

    List<T> selectAll();

    T selectByPrimaryKey(Integer id);
}
